package Opration;

import Book.BookList;

public class ExitOperation implements IOperation{
    @Override
    public void work(BookList bookList) {
        System.out.println("退出图书");
        bookList.books = null;
        bookList.setUseSized(0);
        System.exit(0);
    }
}
